<?php
/**
 * @Author:      lyt
 * @DateTime:  2017-03-22 14:55:39
 * @Description: 订单支付记录
 */
class CarWashOrderPayRecord extends Eloquent
{
    protected $table = "car_wash_order_pay_record";

    public static $paytype=array(
        "1"=>"线下支付现金",
        "2"=>"支付宝",
        "3"=>"微信",
        "7"=>"刷卡",
	    '49'=>'洗车卡支付',
        '50'=>'线上洗车卡支付',
        '69'=>'免费支付',
        "6"=>"挂账",
        "8"=>"余额支付",
        "20"=>"pos支付",
	);

	public static $status=array(
        "0"=>"新建",
        "1"=>"正常",
        "2"=>"失败",
	    '3'=>'取消',
	    '5'=>'支付中'
	);

    public static $paytype_source=array(
        "1"=>array(1,2),
        "2"=>array(1,2),
        "3"=>array(1,2),
        "7"=>array(1,2),
        '49'=>array(1),
        '50'=>array(1),
        '69'=>array(1),
        "6"=>array(1),
        "8"=>array(1),
        "20"=>array(2),
    );

    public static $ei_pay_type=array(1,2,3,7,8);
}